package com.sangeng.service;

import com.sangeng.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sangeng.vo.MenuVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 菜单权限表 服务类
 * </p>
 *
 * @author lz
 * @since 2024-07-24
 */
public interface IMenuService extends IService<Menu> {

    List<String> selectPermsByUserId(Long id);

    List<Menu> selectRouterMenuTreeByUserId(Long userId);

    List<MenuVo> selectMenuTree();

    Map selectMenuTreeByRoleId(Long roleId);
}
